package com.cn.wanxi.model;


public class ProductModel {
    private Integer id;
    private String imgHref;
    private String name;
    private String content;
    private double price;
    private  Integer cookstyleid;

    private PageModel pageModel;

    public PageModel getPageModel() {
        return pageModel;
    }

    public void setPageModel(PageModel pageModel) {
        this.pageModel = pageModel;
    }

    public String getImgHref() {
        return imgHref;
    }

    public void setImgHref(String imgHref) {
        this.imgHref = imgHref;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getCookstyleid() {
        return cookstyleid;
    }

    public void setCookstyleid(Integer cookstyleid) {
        this.cookstyleid = cookstyleid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

//    public String[] imgHrefs = {"../img/9_8hh4.jpg","../img/9_8hh4.jpg","../img/9_8hh4.jpg","../img/9_8hh4.jpg","../img/9_8hh4.jpg","../img/9_8hh4.jpg","../img/9_8hh4.jpg","../img/9_8hh4.jpg"};
//    public String[] names = {"麻婆豆腐","麻婆豆腐","麻婆豆腐","麻婆豆腐","麻婆豆腐","麻婆豆腐","麻婆豆腐","麻婆豆腐"};
//    public String[] contents = {"原料:猪五花肉500克、荔浦芋头400\n量克、青菜适、\n","原料:猪五花肉500克、荔浦芋头400\n量克、青菜适、\n","原料:猪五花肉500克、荔浦芋头400\n量克、青菜适、\n","原料:猪五花肉500克、荔浦芋头400\n量克、青菜适、\n","原料:猪五花肉500克、荔浦芋头400\n量克、青菜适、\n","原料:猪五花肉500克、荔浦芋头400\n量克、青菜适、\n","原料:猪五花肉500克、荔浦芋头400\n量克、青菜适、\n","原料:猪五花肉500克、荔浦芋头400\n量克、青菜适、\n"};
//    public String[] prices = {"4:00","4:00","4:00","4:00","4:00","4:00","4:00","4:00"};

//    public List<ProductModel> getProductModelList(){
//        HomeModel homeModel = new HomeModel();
//        List<ProductModel> productList = new ArrayList<>();
//        for (int i = 0; i < homeModel.productImgs.length; i++) {
//            ProductModel productModel = new ProductModel();
//            productModel.setImgHref(homeModel.productImgs[i]);
//            productModel.setName(homeModel.productNames[i]);
//            productModel.setContent(homeModel.productContents[i]);
//            productList.add(productModel);
//        }
//        return productList;
//    }


    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


}
